package com.chanzany.adapter.springMVCAdapter;

//多种Controller实现
public interface Controller {
    void handle();
}

class HttpController implements Controller{
    @Override
    public void handle() {
        System.out.println("http...");
    }
}
class SimpleController implements Controller{
    @Override
    public void handle() {
        System.out.println("simple...");
    }
}
class AnnotationController implements Controller{
    @Override
    public void handle() {
        System.out.println("annotation...");
    }
}